package com.xgzit.xgzmall.order.dao;

import com.xgzit.xgzmall.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 *
 * @author xgz
 * @email 923904706@qq.com
 * @date 2021-03-20 17:29:23
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    /**
     * 修改订单状态
     * @param orderSn:
     * @param code:
     * @return void
     **/
    void updateOrderStatus(@Param("orderSn") String orderSn, @Param("code") Integer code);
}
